import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// ----完整导入 ----
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)

// ----- 自动按需导入 -----
// import { Swipe, SwipeItem, Button } from 'vant'

// Vue.use(Swipe)
// Vue.use(SwipeItem)
// Vue.use(Button)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
